Make actions work with named icons. (#323484, Jorn Baayen)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 13 Mar 2006 05:11:23 +0000 (05:11 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 13 Mar 2006 05:11:23 +0000 (05:11 +0000)
commitfe7a5ebb7b656dbd64f91682aecd4a86abc41d75
tree905c5249839a9473d87ee55db088dd156f8dde80
parenta83b61586373281f4c1ce3013848b0ee28a92c21
Make actions work with named icons. (#323484, Jorn Baayen)

2006-03-13  Matthias Clasen  <mclasen@redhat.com>

Make actions work with named icons.  (#323484, Jorn Baayen)

* gtk/gtkactiongroup.c: If the stock-id field of a GtkActionEntry
does not contain a registered stock id, interpret it as an
icon name.

* gtk/gtkaction.c: Add an icon-name property to actions and
use it for icons if a stock-id is not specified.
ChangeLog
ChangeLog.pre-2-10
docs/reference/gtk/tmpl/gtkactiongroup.sgml
gtk/gtkaction.c
gtk/gtkactiongroup.c